package com.example.gitresp.service.imp;


import com.example.gitresp.mapper.DeptMapper;
import com.example.gitresp.pojo.Dept;
import com.example.gitresp.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImp implements DeptService {
    @Autowired
    private DeptMapper deptMapper ;
    @Override
    public Dept selectById(Integer id) {
       return deptMapper.selectBYId(id);
    }
}
